import React, { memo, useEffect } from "react";

import "./style.css";
export default memo(function Backsnow() {
  useEffect(() => {
    if (!localStorage.getItem("snow")) {
      window.location.reload();
      localStorage.setItem("snow", 1);
    }
    return () => {
      localStorage.removeItem("snow");
    };
  }, []);
  return (
    <div className="snowwrap">
      <div className="snow-container"></div>
    </div>
  );
});
